<app-navigation></app-navigation>
<h4>购物车清单</h4>
<div  *ngFor="let item of goodList" class="row col-md-6 clo-sm-6 col-lg-6">
  <div class="thumbnail">

    <div class="caption">
      <h4>{{item.product.title}}</h4>
      <p>描述：{{item.product.desc}}</p>
      <p>价格：{{item.product.price}}¥</p>
      <p>数量：{{item.total}}</p>
    </div>
	<div class="btn-group">
		<div>
			<button (click)='addProductToSC(item.product)'>+1</button>
		</div>
		<div>
			<button (click)='removeOneProductfromSC(item.product)'>-1</button>
		</div>
		<div>
			<button (click)='removeAllProductfromSC(item.product)'>清除该商品</button>
		</div>
	</div>
  </div>
</div>